package com.atguigu.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Catelog2Vo {
//
//            "catalog1Id": "1",
//                    "catalog3List": [],
//                    "id": "9",
//                    "name": "科技"
//        "catalog2Id": "9",
//                "id": "42",
//                "name": "工业技术"

    private String catalog1Id;

    private List<Catelog3Vo> catalog3List;

    private String id;

    private String name;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Catelog3Vo{
        private String catalog2Id;

        private String id;

        private String name;
    }
}
